namespace HZY.Framework.Repository.EntityFramework.Models;

/// <summary>
/// 字典信息
/// </summary>
/// <param name="dictAttribute"></param>
/// <param name="fieldName"></param>
public class DictInfo(DictAttribute dictAttribute, string fieldName)
{
    /// <summary>
    /// 字典特性
    /// </summary>
    public DictAttribute DictAttribute { get; set; } = dictAttribute;

    /// <summary>
    /// 字典名称
    /// </summary>
    public string FieldName { get; set; } = fieldName;

    /// <summary>
    /// 字典文本集合
    /// </summary>
    public Dictionary<object, object?> Data { get; set; } = [];
}